package com.jzt.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 作者：lizw <br/>
 * 创建时间：2020/06/18 11:32 <br/>
 */
@RestController
@Slf4j
public class LoginController {

    @PostMapping("/login")
    public Map<String, Object> login() {
        Map<String, Object> map = new HashMap<>();
        map.put("ok", true);
        map.put("data", "login");
        return map;
    }
}
